﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Base_leasesystem_accountrecharge
{
    /// <summary>
    /// 充值记录
    /// </summary>
    [Table("leasesystem_accountrecharge")]
    public class leasesystem_accountrecharge
    {

        /// <summary>
        /// 主键id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 单号
        /// </summary>
        public String BusinessOrderNo { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        public String RecordType { get; set; }

        /// <summary>
        /// 服务商ID
        /// </summary>
        public String ServiceProviderID { get; set; }

        /// <summary>
        /// 服务商名称
        /// </summary>
        public String ServiceProviderName { get; set; }

        /// <summary>
        /// 充值金额
        /// </summary>
        public Decimal RechargeAmount { get; set; }

        /// <summary>
        /// 充值时间
        /// </summary>
        public DateTime? RechargeTime { get; set; }


        /// <summary>
        /// 充值账号
        /// </summary>
        public String PayingAccount { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public Int32? RechargeStatus { get; set; }

        /// <summary>
        /// 充值费率
        /// </summary>
        public Decimal? RechargeRate { get; set; }

        /// <summary>
        /// 到账金额
        /// </summary>
        public Decimal? AccountAmount { get; set; }

        /// <summary>
        /// 到账时间
        /// </summary>
        public String AccountingTime { get; set; }

        /// <summary>
        /// 客户ID
        /// </summary>
        public String MID { get; set; }


        /// <summary>
        /// 说明
        /// </summary>
        public String Note { get; set; }

        /// <summary>
        /// 充值计算规则
        /// </summary>
        public String ruleType { get; set; }

        /// <summary>
        /// 付款银行名称
        /// </summary>
        public String PayingBankName { get; set; }

        /// <summary>
        /// 代发通道ID
        /// </summary>
        public String PayChannelId { get; set; }

        /// <summary>
        /// 添加人
        /// </summary>
        public String AddUser { get; set; }

        /// <summary>
        /// 审核人
        /// </summary>
        public String CheckUser { get; set; }

        /// <summary>
        /// 审核日期
        /// </summary>
        public DateTime? CheckDate { get; set; }

        /// <summary>
        /// 退款锁定状态
        /// </summary>
        public Int32? refundLockStatus { get; set; }

        /// <summary>
        /// 退款状态
        /// </summary>
        public Int32? refundStatus { get; set; }

        /// <summary>
        /// 服务商银行ID
        /// </summary>
        public String ServiceBankId { get; set; }

        /// <summary>
        /// 服务商银行名称
        /// </summary>
        public String ServiceBank { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        public String ServiceAccountNo { get; set; }

        /// <summary>
        /// 充值回单URL
        /// </summary>
        public String customerReceiptUrl { get; set; }

        /// <summary>
        /// 其他费率
        /// </summary>
        public Decimal? OtherRate { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public Int32? TSKID { get; set; }

        /// <summary>
        /// 数据权限
        /// </summary>
        public String DataAreaId { get; set; }

        /// <summary>
        /// 支付宝充值订单号
        /// </summary>
        public String Order_no { get; set; }

    }
}